package com.db.gffxo.epi.format;

import javax.sql.DataSource;


public abstract class AbstractFormatter implements Formatter {
	
	DataSource dataSource = null;
	String formatterId = null;

	public abstract String formatEvent(String arg1, String arg2);
	
	public void configureFormatter(String formatterId) {
		setFormatterId(formatterId);
		
	}

	//getDataSource();
	public DataSource getDataSource() {
		return dataSource;
	}

	//setDataSource(rs.getDataSource(10));
	public void setDataSource(DataSource dataSource) {
		this.dataSource = dataSource;
	}

	public String getFormatterId() {
		return formatterId;
	}

	public void setFormatterId(String formatterId) {
		this.formatterId = formatterId;
	}

}
